package cn.edu.sbs.talent.shiro.entity;

import cn.edu.sbs.talent.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("菜单")
@TableName(value = "menu", keepGlobalPrefix = true)
public class Menu extends BaseEntity {

    private String path;

    private String name;

    private String iconCls;

    private String component;

    private int parentId;

    private transient List<Menu> children;

}
